#pragma once
#include <openssl/applink.c>
#include "jni.h"
 
#ifndef _Included_JniApi

#define _Included_JniApi

#ifdef __cplusplus

extern "C" {

#endif
 

JNIEXPORT jbyteArray  JNICALL Java_com_smart_home_JniApi_encrypt(JNIEnv *,jobject,jbyteArray , jstring);

JNIEXPORT jbyteArray  JNICALL Java_com_smart_home_JniApi_decrypt(JNIEnv *,jobject,jbyteArray , jstring);
 
JNIEXPORT jbyteArray  JNICALL Java_com_smart_home_JniApi_sign(JNIEnv *,jobject,jbyteArray , jstring);
                                                                 
JNIEXPORT jbyteArray JNICALL Java_com_smart_home_JniApi_verify(JNIEnv *,jobject,jbyteArray , jbyteArray , jstring);

JNIEXPORT jstring JNICALL Java_com_smart_home_JniApi_getPublicKey(JNIEnv*, jobject,jstring);
            
JNIEXPORT jstring JNICALL Java_com_smart_home_JniApi_gePrivateKey(JNIEnv*, jobject, jstring);
        
#ifdef __cplusplus
        
}

#endif

#endif